package com.sinosoft.msf.base.supplier.pojo.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author huangzhihao
 **/
@Data
@Table(name = "s_notice_record")
public class SNoticeRecord {
    /**
     * 主键
     */
    @Id
    private String id;

    /**
     * 供应商id
     */
    @Column(name = "company_id")
    private String companyId;

    /**
     * 供应商名称
     */
    @Column(name = "company_name")
    private String companyName;

    /**
     * 消息类型
     * A停用周期;
     * B相同人员信息;
     * C相同IP地址;
     */
    @Column(name = "notice_type")
    private String noticeType;

    /**
     * 消息状态:0未读；1已读
     */
    @Column(name = "notice_status")
    private String noticeStatus;

    /**
     * 是否查看详情:0未查看；1已查看
     */
    @Column(name = "read_detail")
    private String readDetail;

    /**
     * 额外字段
     */
    @Column(name = "extra")
    private String extra;

    /**
     * 删除标记
     */
    @Column(name = "deleted")
    private String deleted;

    /**
     * 创建人
     */
    @Column(name = "created_id")
    private String createdId;

    /**
     * 创建时间
     */
    @Column(name = "created_date")
    private Date createdDate;

    /**
     * 更新人
     */
    @Column(name = "update_id")
    private String updateId;

    /**
     * 更新时间
     */
    @Column(name = "update_date")
    private Date updateDate;

}